package com.demo.function.excel.easyexcel.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * 数据表实体类
 * @author cyj
 */
@Data
public class User extends ExtraInfo {

    @ExcelProperty("id")
    private Long id;

    @ExcelProperty("用户ID")
    private Long userId;

    @ExcelProperty("用户名")
    private String userName;

    @ExcelProperty("性别")
    private String sex;

    @ExcelProperty("地址")
    private String address;

    @ExcelProperty("电话号码")
    private String phone;

    @ExcelProperty("身高")
    private int height;

    @ExcelProperty("体重")
    private int weight;

    @ExcelProperty("身份证号码")
    private Long idNo;
}